﻿namespace Development.Network.Msg
{
    public interface IMsg
    {
       
        /// <summary>
        /// 序列化消息
        /// </summary>
        byte[] Pack();
        /// <summary>
        /// 反序列化
        /// </summary>
        void Unpack(MsgPacket packet);

    }
}
